<?php
/**
 * Created by PhpStorm.
 * User: cape
 * Date: 2017/10/10
 * Time: 12:53
 */


trait ezcReflectionReturnInfo{
    function getReturnType(){}
    function getReturnDEscripption(){}

}


class  ezcReflectionMethod extends ReflectionMethod{
    use ezcReflectionReturnInfo;
}

class ezcReflectionFunction extends ReflectionFunction{
    use ezcReflectionReturnInfo;
}


$you = new ezcReflectionMethod();
$you->getReturnType();


























